package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 训练产品项目分类对象 exercise_category
 * 
 * @author wolong
 * @date 2023-07-11
 */
public class ExerciseCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 训练分类主键 */
    private Long exerciseCategoryId;

    /** 训练分类名称 */
    @Excel(name = "训练分类名称")
    private String name;

    /** 训练分类描述 */
    @Excel(name = "训练分类描述")
    private String description;

    /** 训练分类父id */
    @Excel(name = "训练分类父id")
    private Long parentId;

    public void setExerciseCategoryId(Long exerciseCategoryId) 
    {
        this.exerciseCategoryId = exerciseCategoryId;
    }

    public Long getExerciseCategoryId() 
    {
        return exerciseCategoryId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("exerciseCategoryId", getExerciseCategoryId())
            .append("name", getName())
            .append("description", getDescription())
            .append("parentId", getParentId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
